package com.suixun.service;

import java.util.List;

import com.suixun.entity.PackageInfo;
import com.suixun.entity.form.PackageForm;
import com.suixun.entity.page.PageModel;

public interface PackageService {
	
	//查询所有
	List<PackageInfo> queryPackagelist(PackageForm paramForm);
	//分页查询
	PageModel<PackageInfo> queryPackagelistPage(PackageForm paramForm);
	//新增
	int addPackage(PackageInfo packageinfo,long operatorid);
	//修改
	int modifyPackage(PackageInfo packageinfo, long operatorid);
	//删除
	int delPackage(int id);
	
	PackageInfo queryPackageByName(PackageForm paramForm);
	
	PackageInfo queryPackageByID(PackageForm paramForm);
}
